@extends('install.common.common')
@section('header')
    <li ><a href="javascript:;">环境检测</a></li>
    <li><a href="javascript:;">参数设置</a></li>
    <li><a href="javascript:;">开始安装</a></li>
    <li class="active"><a href="javascript:;">安装完成</a></li>

@endsection

@section('content')

    <div class="col-xs-12 col-sm-8 col-sm-offset-2">
        <div class="panel panel-default">
            @if(count($errors)==0)
                <div class="panel-heading">
                    <span>恭喜您，安装完成！</span>
                </div>
                <div class="panel-body">
                    <div class="alert alert-success text-center">
                        <h3>安装成功 !</h3>
                    </div>
                    <div class="alert alert-danger margin-top">
                        后台管理员用户名admin 密码默认均为123456，请尽快登录系统进行修改，防止系统被恶意攻击。
                    </div>
                    <a class="btn btn-primary" target="_blank" href="{{url('/admin/login')}}">登录后台</a>
                    <a class="btn btn-success" target="_blank" href="{{url('/')}}">访问首页</a>
                </div>
            @else
                <div class="panel-heading">
                    <span>安装失败！</span>
                </div>
                <div class="panel-body">
                    <div class="alert alert-warning text-center">
                        @foreach($errors->all() as $v)
                            <h3> {{$v}}</h3>
                        @endforeach
                    </div>
                </div>
            @endif
            <div class="panel-footer">
                <span></span>
            </div>
        </div>
    </div>
@endsection
